﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///Notice 的摘要说明
/// </summary>
public class Notice
{
    /// <summary>
    /// 股票代码
    /// </summary>
    public string StockId
    {
        get;
        set;
    }

    /// <summary>
    /// 股票名称
    /// </summary>
    public string StockName
    {
        get;
        set;
    }

    /// <summary>
    /// 公告
    /// </summary>
    public string NoticeId
    {
        get;
        set;
    }

    /// <summary>
    /// 标题
    /// </summary>
    public string Title
    {
        get;
        set;
    }

    /// <summary>
    /// 公告时间
    /// </summary>
    public DateTime? NoticeDate
    {
        get;
        set;
    }

    /// <summary>
    /// 会议时间
    /// </summary>
    public DateTime? MeetDate
    {
        get;
        set;
    }

    /// <summary>
    /// 内容
    /// </summary>
    public string Content
    {
        get;
        set;
    }

    /// <summary>
    /// 公告转换成新闻实体
    /// </summary>
    /// <returns></returns>
    public NewsContentEnty GetNews()
    {
        NewsContentEnty c = new NewsContentEnty();
        c.PTime = NoticeDate;
        c.Title = Title;
        c.Content = Content;
        return c;
    }
}